#include <stdio.h>

int times(){
    static int times;
    return times+++1;
}

int main(void) {
    for (int i = 0; i < 10; ++i) {
        printf("times called %d times\n", times());
    }
    return 0;
}